<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../static/img/spectrogram.png">

    <title>DepressionDetect</title>

    <!-- Bootstrap core CSS -->
    <link href="../static/css/bootstrap.min.css" rel="stylesheet">

    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <link href="../static/css/ie10-viewport-bug-workaround.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="../static/js/ie-emulation-modes-warning.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->

    <!-- Custom styles for this template -->
    <link href="..static/css/carousel.css" rel="stylesheet">
  </head>

<!-- NAVBAR
================================================== -->
  <body>
    <div class="navbar-wrapper">
      <div class="container">

        <nav class="navbar navbar-inverse navbar-static-top">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              <a class="navbar-brand" href="/"><i>DepressionDetect</i></a>
            </div>
            <div id="navbar" class="navbar-collapse collapse">
              <ul class="nav navbar-nav">
                <li class="active"><a href="/">Home</a></li>
                <li><a href="/donate">Donate Data</a></li>
                <li><a href="/contact">Contact</a></li>
                  </ul>
                </li>
              </ul>
            </div>
          </div>
        </nav>

      </div>
    </div>


    <!-- Marketing messaging and featurettes
    ================================================== -->
    <!-- Wrap the rest of the page in another container to center all the content. -->

    <div class="container marketing">


      <!-- START THE FEATURETTES -->

      <hr class="featurette-divider">

      <div class="row featurette">
        <div class="col-md-12">
          <h2 class="featurette-heading">Become a data donor!</h2>

          <img class="img" src="../static/img/how_to_record.gif" alt="How to record gif" width="404" height="350" align="right">

          <p class="lead">Upload a .wav file of yourself speaking the following paragraph. The easiest way to record a .wav file is using <a href="http://vocaroo.com/" target="_blank"><strong>Vocaroo</strong></a>. The file will save to your downloads folder. Upload it and we'll show you a visual representation of your recording. Completing an 8 question psychiatric survey will conclude your data donation.</p><br>

          <p class="lead"> When you begin recording, speak the following paragraph. If you fumble on some words, carry on. It does not have to be perfect. And believe or not, studies show you can't conceal or fake depression in your voice. The underlying acoustic features remain the same.<br></br><br></br><br></br>

          <hr class="featurette-divider">

          <p class="lead"> "This sentence has five words. Here are five more words. Five-word sentences are fine. But several together become monotonous. Listen to what is happening. The writing is getting boring. The sound of it drones. It’s like a stuck record. The ear demands some variety. Now listen. I vary the sentence length, and I create music. Music. The writing sings. It has a pleasant rhythm, a lilt, a harmony. I use short sentences. And I use sentences of medium length. And sometimes, when I am certain the reader is rested, I will engage him with a sentence of considerable length, a sentence that burns with energy and builds with all the impetus of a crescendo, the roll of the drums, the crash of the cymbals–sounds that say listen to this, it is important." – Gary Provost</blockquote>
          </p>

          <form action="/donate" method="post" enctype="multipart/form-data">
            <input type="file" name="file"> <br></br>
            <input type="submit" value="Upload" class="btn btn-info">
          </form>
        </div>
      </div>

      <hr class="featurette-divider">

      <!-- /END THE FEATURETTES -->

      <!-- Three columns of text -->
      <div class="row">
        <div class="col-lg-4">
          <img class="img-circle" src="../static/img/microphone.png" alt="Donate" width="100" height="100">
          <h2>Donate</h2>
          <p>We're in need of data donors. Upload an audio file and take an 8 question depression survey and we'll be eternally grateful. 3 minutes of your time could help save lives!</p>
          <p><a class="btn btn-default" href="/donate" role="button">Donate &raquo;</a></p>
        </div><!-- /.col-lg-4 -->
        <div class="col-lg-4">
          <img class="img-circle" src="../static/img/spectrogram.png" alt="Spectrogram" width="100" height="100">
          <h2>The Project</h2>
          <p>Want to get technical? Learn more about the data science behind creating a model to detect depression from speech and keep track of how well we're predicting as our donations grow!</p>
          <p><a class="btn btn-default" href="https://github.com/kykiefer/depression-detect" target="_blank" role="button">View the repo &raquo;</a></p>
        </div><!-- /.col-lg-4 -->
        <div class="col-lg-4">
          <img class="img-circle" src="../static/img/ky_kiefer.jpg" alt="Generic placeholder image" width="100" height="100">
          <h2>Contact</h2>
          <p>If you're inspired, have feedback, or are eager to start contributing, drop me a line. This project is in an early stage with plenty of room for improvement. I'm eager to hear from you!</p>
          <p><a class="btn btn-default" href="/contact" role="button">Get in touch &raquo;</a></p>
        </div><!-- /.col-lg-4 -->
      </div><!-- /.row -->

      <!-- FOOTER -->
      <footer>
        <p class="pull-right"><a href="#">Back to top</a></p>
        <p>&copy; 2017 DepressionDetect</p>
      </footer>

    </div><!-- /.container -->


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script>window.jQuery || document.write('<script src="../static/js/jquery.min.js"><\/script>')</script>
    <script src="../static/js/bootstrap.min.js"></script>
    <!-- Just to make our placeholder images work. Don't actually copy the next line! -->
    <script src="../static/js/holder.min.js"></script>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="../static/js/ie10-viewport-bug-workaround.js"></script>
  </body>
</html>
